﻿@model Adams.Web.Models.Businesses.Search.PageLoad
@{
    Layout = "~/Views/Shared/_ContentLayout.Mobile.cshtml";
}
@section Head{
}
@section Scripts {
}
<h1>Search Businesses</h1>
<form action="/businesses/search" method="get">
<input type="text" name="criteria" id="criteria" value="@Model.Criteria" />
<input type="submit" value="Search" />
</form>
@foreach (var Business in Model.Businesses)
{
    <div>
        <a href="/businesses/@Business.ID">@Business.Name</a> - @Business.Category.Type.Name
        - @Business.Category.Name
    </div>
}
